package SpatialQuery;

import java.util.ArrayList;

public class JoinQuery implements IQuery {
	Range range1;
	Range range2;
	ObjectType type1;
	ObjectType type2;
	
	
	public Range getRange1() {
		return range1;
	}

	public void setRange1(Range range1) {
		this.range1 = range1;
	}

	public Range getRange2() {
		return range2;
	}

	public void setRange2(Range range2) {
		this.range2 = range2;
	}

	public ObjectType getType1() {
		return type1;
	}

	public void setType1(ObjectType type1) {
		this.type1 = type1;
	}

	public ObjectType getType2() {
		return type2;
	}

	public void setType2(ObjectType type2) {
		this.type2 = type2;
	}

	public ArrayList<JoinResult> processQuery() {
		return null;
	}
	
	public String toString() {
		return null;		
	}
}

class JoinResult {
	SpatialObject obj1;
	SpatialObject obj2;
}
